package com.mikufufu.blog.service.impl;

import com.mikufufu.blog.model.entity.Collection;
import com.mikufufu.blog.mapper.CollectionMapper;
import com.mikufufu.blog.model.vo.admin.ArticleVO;
import com.mikufufu.blog.service.CollectionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 合集表 服务实现类
 * </p>
 *
 * 
 * @since 2025-03-28
 */
@Service
public class CollectionServiceImpl extends ServiceImpl<CollectionMapper, Collection> implements CollectionService {

    @Override
    public List<ArticleVO> getCollectionArticleList(Integer collectionId) {
        return baseMapper.getCollectionArticleList(collectionId);
    }
}
